﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ImageK.Java
{
    public class GraphicsEnvironment
    {
        /**
         * Tests whether or not a display, keyboard, and mouse can be
         * supported in this environment.  If this method returns true,
         * a HeadlessException is thrown from areas of the Toolkit
         * and GraphicsEnvironment that are dependent on a display,
         * keyboard, or mouse.
         * @return {@code true} if this environment cannot support
         * a display, keyboard, and mouse; {@code false}
         * otherwise
         * @see java.awt.HeadlessException
         * @since 1.4
         */
        public static bool isHeadless()
        {
            //暂时不考虑Headless
            return false;
        }
    }
}
